package cn.lili.controller.feign.system;

import cn.lili.modules.system.client.ResponseLogClient;
import cn.lili.modules.system.entity.dos.ResponseLog;
import cn.lili.modules.system.service.ResponseLogService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author: pyy
 * @date: 2023-11-2
 * @description: 第三方调用日志
 */
@RestController
@RequiredArgsConstructor
public class ResponseLogFeignController implements ResponseLogClient {
    private final ResponseLogService responseLogService;

    @Override
    public boolean saveOrUpdate(ResponseLog responseLog) {
       return responseLogService.saveOrUpdate(responseLog);
    }
}
